package com.sky.mapper.user;


import com.sky.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * @Description userMapper
 * @Author luohai
 * @Date 2024-10-13
 */
@Mapper
public interface userMapper {

    @Select("select * from user where openid = #{openId}")
    User selectByOpenId(String openId);

    void save(User user);
}
